//
// Created by wsl on 2024/10/19.
//

#ifndef YM_DHT11_H
#define YM_DHT11_H

#include "sys.h"

#define DHT11_GPIO          GPIOB
#define DHT11_GPIO_CLK      RCC_APB2Periph_GPIOB
#define DHT11_PIN           GPIO_Pin_1

void DHT11_GPIO_Config(void);
uint8_t DHT11_ReadData(float *temperature, float *humidity);

#endif //YM_DHT11_H
